{get_user assign=user}
<div id="style-switcher" style="right: 0px;">
    <div id="abs_toolbar"> <!-- toolbar container -->
       
         <!-- all things in floating left side -->
            {if $user->id != '' && $user->id != 0}
            {permissions level=$smarty.const.UILEVEL_NORMAL}
            
            {if $permissions.administrate == 1}
            {* Quick Link menu *}
            <a href="javascript:void(0)" menu="#admin_menu" iconCls="icon-admin-large" class="sysnav-menu sysnav-menu-action easyui-menubutton" >{$_TR.quicklinks}</a>
            <div id="admin_menu" >
                {permission_check permission='manage' module='navigationmodule'}
                <div iconCls="icon-pagemanage"><a href="{link module=navigationmodule action=manage}">{$_TR.manage_site}</a></div>
                
                {/permission_check}
                {* file management *}
                <div iconCls="icon-files">
                    <span>{$_TR.manage_files}</span>
                    <div>
                        <div iconCls="icon-files"><a href="{$smarty.const.URL_FULL}modules/filemanagermodule/actions/picker.php">{$_TR.manage_files}</a></div>
                        {*<div><a href="javascript:alert('Not done');">Approve new uploaded files</a></div>
                        <div iconCls="icon-file_explorer"><a href="{$smarty.const.URL_FULL}external/filemananger/index.php" target="_blank">File Explorer</a></div>
                        <div iconCls="icon-usergroup"><a href="{link module=filemanagermodule action=manage_user src=_syscore}">File Explorer Permission</a></div>*}
                    </div>
                </div>
                {* end file management *}
                {* System configuration *}
                <div iconCls="icon-admin">
                    <span>{$_TR.site_administration}</span>
                    <div >
                        <div iconCls="icon-admin"><a  href="{link module=administrationmodule action=index}">{$_TR.site_administration}</a></div>
                        {* Login Info Management *}
                        <div iconCls="icon-admin">
                            <span>{$_TR.login_information}</span>
                            <div >
                                 {foreach from=$langs key=ll item=lang}
                                    <div ><a href="{link module=loginmodule action=logininfo_edit src="`$ll`_login_info_src}">{$lang.name}</a></div>
                                {/foreach}
                            </div>
                        </div>
                        {* End Login Info Management *}
                        <div iconCls="icon-admin"><a  href="{link module=administrationmodule action=configuresite}">{$_TR.options}</a></div>
                        <div iconCls="icon-mime"><a  href="{link module=filemanager action=admin_mimetypes}">{$_TR.file_type}</a></div>
                        <div iconCls="icon-lang"><a  href="{link module=administrationmodule action=lang_manage}">{$_TR.language}</a></div>
                        <div iconCls="icon-search"><a  href="{link module=searchmodule action=spider}">{$_TR.spider_site}</a></div>
                        <div iconCls="icon-classpath"><a  href="{link module=sysnavmodule action=filecache_update _common=1}">{$_TR.regenerate_classpath}</a></div>
 
                        {* user management *}
                        <div iconCls="icon-admin">
                            <span>{$_TR.user_management}</span>
                            <div >
                                <div iconCls="icon-editprofile"><a  href="{link module=administrationmodule action=useraccounts}">{$_TR.user_accounts}</a></div>
                                <div iconCls="icon-session"><a  href="{link module=administrationmodule action=usersessions}">{$_TR.user_sessions}</a></div>
                                <div iconCls="icon-usergroup"><a  href="{link module=administrationmodule action=groupaccounts}">{$_TR.group_accounts}</a></div>
                                <div iconCls="icon-profile"><a  href="{link module=administrationmodule action=profileext_manage}">{$_TR.profile_definitions}</a></div>
                        
                            </div>
                        </div>
                        {* end user management *}
                        {* Extentions *}
                        <div iconCls="icon-plugin">
                            <span>{$_TR.profile_definitions}</span>
                            <div >
                                <div iconCls="icon-module"><a  href="{link module=administrationmodule action=managemodules}">{$_TR.manage_modules}</a></div>
                                
                            </div>
                        </div>
                        {* end Extentions *}
                        {* Development *}
                        <div iconCls="icon-dev">
                            <span>{$_TR.development}</span>
                            <div >
                                <div iconCls="icon-error"><a  href="{link module=administrationmodule action=toggle_dev}">{$_TR.turn_error_off}</a></div>
                                <div iconCls="icon-css"><a  href="{link module=administrationmodule action=remove_css}">{$_TR.rebuild_css}</a></div>
                                <div iconCls="icon-admin"><a  href="{link module=administrationmodule action=toggle_maintenance}">{$_TR.turn_maintenance}</a></div>
                        
                            </div>
                        </div>
                        {*Oct 29,2012 - sonhb - CRM connector config - src= @crmconnector*}
                        <div iconCls="icon-admin"><a  href="{link module=profilemodule action=_config}">Profile config</a></div>
                        <div iconCls="icon-admin"> Meeting request config
                            <div id="meeting_config">
                                {foreach from=$langs key=l1 item=lang_slide}
                                <div >
                                    <a href="{link module=profilemodule action=meeting_config src="@meeting_mail_`$l1`-"}">{$lang_slide.name}</a>
                                </div>
                                {/foreach}
                            </div>  
                        </div>
                        {* end Development *}
                    </div>
                </div>
                {* end System configuration *}
                <div iconCls="icon-system-log"><a  href="{link module=searchmodule action=configure src="@search" _common=1}">{$_TR.search_configure}</a></div>
                <div iconCls="icon-system-log"><a  href="{link module=administrationmodule action=log_manage}">{$_TR.system_log}</a></div>
                <div iconCls="icon-seo"><a  href="{link module=navigationmodule action=actions_map_manage}">{$_TR.site_seo}</a></div>
                <div iconCls="icon-recycle"><a  href="{link module=administrationmodule action=orphanedcontent}">{$_TR.recycle_bin}</a></div>
                <div iconCls="icon-clearcache"><a class="clearcache" href="{link module=administrationmodule action=clear_smarty_cache}">{$_TR.clear_cache}</a></div>
            </div>
            {* end Quick Link menu *}
            {* Permission menu *}
            <a href="javascript:void(0)" menu="#permission_menu" iconCls="icon-permission-large" class="sysnav-menu sysnav-menu-action  easyui-menubutton">{$_TR.permissions}</a>
            <div id="permission_menu">
                <div iconCls="icon-log">
                    <span>{$_TR.administration}</span>
                    <div >
                        <div iconCls="icon-editprofile"><a href="{link module=administrationmodule action=userperms src=_syscore _common=1}">{$_TR.user}</a></div>
                        <div iconCls="icon-usergroup"><a href="{link module=administrationmodule action=groupperms src=_syscore _common=1}">{$_TR.group}</a></div>
                    </div>
                </div>
                <div iconCls="icon-files">
                    <span>{$_TR.file_access}</span>
                    <div >
                        <div iconCls="icon-editprofile"><a href="{link module=filemanagermodule action=userperms src=_syscore _common=1}">{$_TR.user}</a></div>
                        <div iconCls="icon-usergroup"><a href="{link module=filemanagermodule action=groupperms src=_syscore _common=1}">{$_TR.group}</a></div>
                    </div>
                </div>
                <div iconCls="icon-sitetree">
                    <span>{$_TR.page_management}</span>
                    <div>
                        <div iconCls="icon-editprofile"><a href="{link module=navigationmodule action=userperms src=_syscore _common=1}">{$_TR.user}</a></div>
                        <div iconCls="icon-usergroup"><a href="{link module=navigationmodule action=groupperms src=_syscore _common=1}">{$_TR.group}</a></div>
                    </div>
                </div>
            </div>
            {* End permission menu*}
            {* Mobile menu *}
            <a href="javascript:void(0)" menu="#mobile_menu" iconCls="icon-mobile-large" class="sysnav-menu sysnav-menu-action  easyui-menubutton">{$_TR.mobile_menu}</a>
            <div id="mobile_menu">
                <div iconCls="icon-log">
                    <span>{$_TR.mobile_menu_content}</span>
                    <div >
                        {* Mobile bottom menu *}
                         <div iconCls="icon-mobile-bottommenu"> {$_TR.mobile_menu_bottom_menu} 
                            <div id="bottom_menu">
                                {foreach from=$langs key=ll item=lang}
                                <div ><a href="{link module=linklistmodule action=manage src="@menu_bottom_mobile_`$ll`-"}">{$lang.name}</a></div>
                                {/foreach}
                            </div>
                        </div>
                        {* End Mobile bottom menu *}
                        {* More menu *}
                         <div iconCls="icon-mobile-more">Bottom More menu 
                            <div id="bottom_menu">
                                {foreach from=$langs key=ll item=lang}
                                <div ><a href="{link module=linklistmodule action=manage src="@menu_more_mobile_`$ll`-"}">{$lang.name}</a></div>
                                {/foreach}
                            </div>
                        </div>
                        {* End more menu*}
                        {* Homepage media management *}  
                        <div iconCls="icon-slide"> {$_TR.mobile_homepage_slider}
                            <div id="slide_menu_m">
                                {foreach from=$langs key=l1 item=lang_slide}
                                <div >
                                    <a href="{link module=abbannermodule action=list src="@mobile_slide_`$l1`-"}">{$lang_slide.name}</a>
                                </div>
                                {/foreach}
                            </div>  
                        </div>
                        {* End Homepage media management *}
                        {* Configure homepage slider *}
                        <div iconCls="icon-bottom-m">Configure home slider
                            <div id="slide_menu_m">
                                {foreach from=$langs key=l1 item=lang_slide}
                                <div >
                                    <a href="{link module=abbannermodule action=configure _common=1 src="@mobile_slide_`$l1`-"}">{$lang_slide.name}</a>
                                </div>
                                {/foreach}
                            </div>  
                        </div>
                        {* End Configure homepage slider *}
                        {* For contact us of mobile *}
                        <div iconCls="icon-mobile-contactus"> {$_TR.mobile_page_contactus}
                            <div id="slide_menu_m">
                                {foreach from=$langs key=l1 item=lang_slide}
                                    <div iconCls="icon-pagemanage">
                                        <span>{$lang_slide.name}</span>
                                             <div iconCls="icon-bottom-m">
                                                <div >
                                                    <a href="/{$smarty.const.LANG_URL_PREFIX}/textmodule/edit/src/{$lang_slide.locale}_contact_mobile/">Address Info</a>
                                                </div>
                                                <div >
                                                    <a href="/{$smarty.const.LANG_URL_PREFIX}/textmodule/edit/src/{$lang_slide.locale}_showaddress/">Street Info</a>
                                                </div>
                                             </div>                                  
                                    </div>
                                {/foreach}
                            </div>  
                        </div>
                        {*End contact us of Mobile*}
                    </div>
                </div>
            </div>
            {*End menu mobile*}
            {/if}{*End if Administrate*}
            
            {/permissions}
            {/if}{*End if logged in*}

        {* Right side *}
 <!-- all things in floating left side -->
            <span class="downarr"> <!-- hide button -->
                <a href="javascript:void(0);"></a>
            </span>
            <div class="sysnav-rightside">
                {if $user->id != '' && $user->id != 0} 
                {permissions level=$smarty.const.UILEVEL_NORMAL}
                <a href="javascript:void(0)" menu="#personal_menu" iconCls="icon-account-large" class="sysnav-menu sysnav-menu-action  easyui-menubutton">{$_TR.user_profile}</a>
                <div id="personal_menu" style="width:200px;">
                    <div iconCls="icon-editprofile2"><a href="/english/profile/">{$_TR.user_profile}</a></div>
                    <div iconCls="icon-changepassword"><a href="{link module=loginmodule action=changepass}">{$_TR.change_password}</a></div>
                    <div iconCls="icon-editprofile"><a  href="{link module=loginmodule action=editprofile}">{$_TR.edit_profile}</a></div>
                    <div iconCls="icon-logout"><a href="{link module=loginmodule action=logout}">{$_TR.logout}</a></div>
                </div>
                {/permissions}
                {/if}
            </div>

       
    </div>

 <span id="toggle-style-switcher" class="icon-admin-control"></span></div>

